<template>
  <div>
    <EditForm :infos="infos" :colon="false" submitText="保存"></EditForm>

  </div>
</template>

<script>
import EditForm from '@/components/EditForm/index'
export default {
  name: 'mine',
  components: {
    EditForm
  },
  data () {
    return {
      infos: [
        {
          type: 'text',
          label: '用户名',
          arrow: 'right',
          key: 'userInfo',
          value: '张三'
        },
        {
          type: 'text',
          label: '手机号',
          arrow: 'right',
          key: 'userInfo',
          value: '18888888888'
        }
      ]
    }
  }
}
</script>

<style lang="" scoped>
</style>
